package com.hualude.roadsign.dto;

import com.hualude.roadsign.model.SolarEnergyEntity;

/**
 * Created by shao-yikun on 2017/7/11.
 */
public class SolarEnergyDto {
    private Integer solarEnergyId;
    private String projectNumber;
    private Integer solarEnergyRegionId;
    private String solarEnergyLongitude;
    private String solarEnergyLatitude;
    private String solarEnergyProvince;
    private String solarEnergyCity;
    private String solarEnergyArea;
    private String solarEnergyRoadName;
    private String solarEnergyStartRoad;
    private String solarEnergyEndRoad;
    private Integer solarEnergyType;
    private Integer solarEnergyStyle;
    private Integer solarEnergyMaterial;
    private String solarEnergyBrand;
    private String solarEnergyPhoto;
    private String solarEnergyInstallTime;
    private String solarEnergyInstallOrg;
    private Integer solarEnergyPeriod;
    private Integer solarEnergyServiceLife;
    private String solarEnergyRemark;
    private Integer solarEnergyCreatorId;
    private Integer solarEnergyModifierId;
    private Integer solarEnergyOrgId;
    private Integer solarEnergyMainOrgId;
    private Integer solarEnergyIsComplete;
    private String solarEnergyADeviceId;
    private Integer alarmCount;
    private String alarmDeviceId;


    private String solarEnergyCreatorName;      //采集员名称
    private String solarEnergyOrgName;          //维护单位名称
    private String solarEnergyMainOrgName;      //监管单位名称
    private String longitude;                   //经度
    private String latitude;                    //纬度
    private Integer deviceState;


    public Integer getDeviceState() {
        return deviceState;
    }

    public void setDeviceState(Integer deviceState) {
        this.deviceState = deviceState;
    }

    public SolarEnergyDto() {
    }

    public SolarEnergyDto(Integer solarEnergyId, String projectNumber, Integer solarEnergyRegionId,
                          String solarEnergyLongitude, String solarEnergyLatitude,
                          String solarEnergyProvince, String solarEnergyCity, String solarEnergyArea,
                          String solarEnergyRoadName, String solarEnergyStartRoad, String solarEnergyEndRoad,
                          Integer solarEnergyType, Integer solarEnergyStyle,
                          Integer solarEnergyMaterial, String solarEnergyBrand,
                          String solarEnergyPhoto, String solarEnergyInstallTime,
                          String solarEnergyInstallOrg, Integer solarEnergyPeriod,
                          Integer solarEnergyServiceLife, String solarEnergyRemark,
                          Integer solarEnergyCreatorId, Integer solarEnergyModifierId,
                          Integer solarEnergyOrgId, Integer solarEnergyMainOrgId,
                          Integer solarEnergyIsComplete, Integer alarmCount, String alarmDeviceId) {
        this.solarEnergyId = solarEnergyId;
        this.projectNumber = projectNumber;
        this.solarEnergyRegionId = solarEnergyRegionId;
        this.solarEnergyLongitude = solarEnergyLongitude;
        this.solarEnergyLatitude = solarEnergyLatitude;
        this.solarEnergyProvince = solarEnergyProvince;
        this.solarEnergyCity = solarEnergyCity;
        this.solarEnergyArea = solarEnergyArea;
        this.solarEnergyRoadName = solarEnergyRoadName;
        this.solarEnergyStartRoad = solarEnergyStartRoad;
        this.solarEnergyEndRoad = solarEnergyEndRoad;
        this.solarEnergyType = solarEnergyType;
        this.solarEnergyStyle = solarEnergyStyle;
        this.solarEnergyMaterial = solarEnergyMaterial;
        this.solarEnergyBrand = solarEnergyBrand;
        this.solarEnergyPhoto = solarEnergyPhoto;
        this.solarEnergyInstallTime = solarEnergyInstallTime;
        this.solarEnergyInstallOrg = solarEnergyInstallOrg;
        this.solarEnergyPeriod = solarEnergyPeriod;
        this.solarEnergyServiceLife = solarEnergyServiceLife;
        this.solarEnergyRemark = solarEnergyRemark;
        this.solarEnergyCreatorId = solarEnergyCreatorId;
        this.solarEnergyModifierId = solarEnergyModifierId;
        this.solarEnergyOrgId = solarEnergyOrgId;
        this.solarEnergyMainOrgId = solarEnergyMainOrgId;
        this.solarEnergyIsComplete = solarEnergyIsComplete;
        this.alarmCount = alarmCount;
        this.alarmDeviceId = alarmDeviceId;
    }

    public Integer getSolarEnergyId() {
        return solarEnergyId;
    }

    public void setSolarEnergyId(Integer solarEnergyId) {
        this.solarEnergyId = solarEnergyId;
    }

    public String getProjectNumber() {
        return projectNumber;
    }

    public void setProjectNumber(String projectNumber) {
        this.projectNumber = projectNumber;
    }

    public Integer getSolarEnergyRegionId() {
        return solarEnergyRegionId;
    }

    public void setSolarEnergyRegionId(Integer solarEnergyRegionId) {
        this.solarEnergyRegionId = solarEnergyRegionId;
    }

    public String getSolarEnergyLongitude() {
        return solarEnergyLongitude;
    }

    public void setSolarEnergyLongitude(String solarEnergyLongitude) {
        this.solarEnergyLongitude = solarEnergyLongitude;
    }

    public String getSolarEnergyLatitude() {
        return solarEnergyLatitude;
    }

    public void setSolarEnergyLatitude(String solarEnergyLatitude) {
        this.solarEnergyLatitude = solarEnergyLatitude;
    }

    public String getSolarEnergyProvince() {
        return solarEnergyProvince;
    }

    public void setSolarEnergyProvince(String solarEnergyProvince) {
        this.solarEnergyProvince = solarEnergyProvince;
    }

    public String getSolarEnergyCity() {
        return solarEnergyCity;
    }

    public void setSolarEnergyCity(String solarEnergyCity) {
        this.solarEnergyCity = solarEnergyCity;
    }

    public String getSolarEnergyArea() {
        return solarEnergyArea;
    }

    public void setSolarEnergyArea(String solarEnergyArea) {
        this.solarEnergyArea = solarEnergyArea;
    }

    public String getSolarEnergyRoadName() {
        return solarEnergyRoadName;
    }

    public void setSolarEnergyRoadName(String solarEnergyRoadName) {
        this.solarEnergyRoadName = solarEnergyRoadName;
    }

    public String getSolarEnergyStartRoad() {
        return solarEnergyStartRoad;
    }

    public void setSolarEnergyStartRoad(String solarEnergyStartRoad) {
        this.solarEnergyStartRoad = solarEnergyStartRoad;
    }

    public String getSolarEnergyEndRoad() {
        return solarEnergyEndRoad;
    }

    public void setSolarEnergyEndRoad(String solarEnergyEndRoad) {
        this.solarEnergyEndRoad = solarEnergyEndRoad;
    }

    public Integer getSolarEnergyType() {
        return solarEnergyType;
    }

    public void setSolarEnergyType(Integer solarEnergyType) {
        this.solarEnergyType = solarEnergyType;
    }

    public Integer getSolarEnergyStyle() {
        return solarEnergyStyle;
    }

    public void setSolarEnergyStyle(Integer solarEnergyStyle) {
        this.solarEnergyStyle = solarEnergyStyle;
    }

    public Integer getSolarEnergyMaterial() {
        return solarEnergyMaterial;
    }

    public void setSolarEnergyMaterial(Integer solarEnergyMaterial) {
        this.solarEnergyMaterial = solarEnergyMaterial;
    }

    public String getSolarEnergyBrand() {
        return solarEnergyBrand;
    }

    public void setSolarEnergyBrand(String solarEnergyBrand) {
        this.solarEnergyBrand = solarEnergyBrand;
    }

    public String getSolarEnergyPhoto() {
        return solarEnergyPhoto;
    }

    public void setSolarEnergyPhoto(String solarEnergyPhoto) {
        this.solarEnergyPhoto = solarEnergyPhoto;
    }

    public String getSolarEnergyInstallTime() {
        return solarEnergyInstallTime;
    }

    public void setSolarEnergyInstallTime(String solarEnergyInstallTime) {
        this.solarEnergyInstallTime = solarEnergyInstallTime;
    }

    public String getSolarEnergyInstallOrg() {
        return solarEnergyInstallOrg;
    }

    public void setSolarEnergyInstallOrg(String solarEnergyInstallOrg) {
        this.solarEnergyInstallOrg = solarEnergyInstallOrg;
    }

    public Integer getSolarEnergyPeriod() {
        return solarEnergyPeriod;
    }

    public void setSolarEnergyPeriod(Integer solarEnergyPeriod) {
        this.solarEnergyPeriod = solarEnergyPeriod;
    }

    public Integer getSolarEnergyServiceLife() {
        return solarEnergyServiceLife;
    }

    public void setSolarEnergyServiceLife(Integer solarEnergyServiceLife) {
        this.solarEnergyServiceLife = solarEnergyServiceLife;
    }

    public String getSolarEnergyRemark() {
        return solarEnergyRemark;
    }

    public void setSolarEnergyRemark(String solarEnergyRemark) {
        this.solarEnergyRemark = solarEnergyRemark;
    }

    public Integer getSolarEnergyCreatorId() {
        return solarEnergyCreatorId;
    }

    public void setSolarEnergyCreatorId(Integer solarEnergyCreatorId) {
        this.solarEnergyCreatorId = solarEnergyCreatorId;
    }

    public Integer getSolarEnergyModifierId() {
        return solarEnergyModifierId;
    }

    public void setSolarEnergyModifierId(Integer solarEnergyModifierId) {
        this.solarEnergyModifierId = solarEnergyModifierId;
    }

    public Integer getSolarEnergyOrgId() {
        return solarEnergyOrgId;
    }

    public void setSolarEnergyOrgId(Integer solarEnergyOrgId) {
        this.solarEnergyOrgId = solarEnergyOrgId;
    }

    public Integer getSolarEnergyMainOrgId() {
        return solarEnergyMainOrgId;
    }

    public void setSolarEnergyMainOrgId(Integer solarEnergyMainOrgId) {
        this.solarEnergyMainOrgId = solarEnergyMainOrgId;
    }

    public Integer getSolarEnergyIsComplete() {
        return solarEnergyIsComplete;
    }

    public void setSolarEnergyIsComplete(Integer solarEnergyIsComplete) {
        this.solarEnergyIsComplete = solarEnergyIsComplete;
    }

    public String getSolarEnergyCreatorName() {
        return solarEnergyCreatorName;
    }

    public void setSolarEnergyCreatorName(String solarEnergyCreatorName) {
        this.solarEnergyCreatorName = solarEnergyCreatorName;
    }

    public String getSolarEnergyOrgName() {
        return solarEnergyOrgName;
    }

    public void setSolarEnergyOrgName(String solarEnergyOrgName) {
        this.solarEnergyOrgName = solarEnergyOrgName;
    }

    public String getSolarEnergyMainOrgName() {
        return solarEnergyMainOrgName;
    }

    public void setSolarEnergyMainOrgName(String solarEnergyMainOrgName) {
        this.solarEnergyMainOrgName = solarEnergyMainOrgName;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public SolarEnergyEntity toBean() {
        SolarEnergyEntity solarEnergyEntity = new SolarEnergyEntity();
        solarEnergyEntity.setSolarEnergyId(solarEnergyId);
        solarEnergyEntity.setProjectNumber(projectNumber);
        solarEnergyEntity.setSolarEnergyRegionId(solarEnergyRegionId);
        solarEnergyEntity.setSolarEnergyLongitude(solarEnergyLongitude);
        solarEnergyEntity.setSolarEnergyLatitude(solarEnergyLatitude);
        solarEnergyEntity.setSolarEnergyProvince(solarEnergyProvince);
        solarEnergyEntity.setSolarEnergyCity(solarEnergyCity);
        solarEnergyEntity.setSolarEnergyArea(solarEnergyArea);
        solarEnergyEntity.setSolarEnergyRoadName(solarEnergyRoadName);
        solarEnergyEntity.setSolarEnergyStartRoad(solarEnergyStartRoad);
        solarEnergyEntity.setSolarEnergyEndRoad(solarEnergyEndRoad);
        solarEnergyEntity.setSolarEnergyType(solarEnergyType);
        solarEnergyEntity.setSolarEnergyStyle(solarEnergyStyle);
        solarEnergyEntity.setSolarEnergyMaterial(solarEnergyMaterial);
        solarEnergyEntity.setSolarEnergyBrand(solarEnergyBrand);
        solarEnergyEntity.setSolarEnergyPhoto(solarEnergyPhoto);
        solarEnergyEntity.setSolarEnergyInstallTime(solarEnergyInstallTime);
        solarEnergyEntity.setSolarEnergyInstallOrg(solarEnergyInstallOrg);
        solarEnergyEntity.setSolarEnergyPeriod(solarEnergyPeriod);
        solarEnergyEntity.setSolarEnergyServiceLife(solarEnergyServiceLife);
        solarEnergyEntity.setSolarEnergyRemark(solarEnergyRemark);
        solarEnergyEntity.setSolarEnergyCreatorId(solarEnergyCreatorId);
        solarEnergyEntity.setSolarEnergyModifierId(solarEnergyModifierId);
        solarEnergyEntity.setSolarEnergyOrgId(solarEnergyOrgId);
        solarEnergyEntity.setSolarEnergyMainOrgId(solarEnergyMainOrgId);
        solarEnergyEntity.setSolarEnergyIsComplete(0);
        solarEnergyEntity.setSolarEnergyADeviceId(solarEnergyADeviceId);
        solarEnergyEntity.setAlarmCount(alarmCount);
        solarEnergyEntity.setAlarmDeviceId(alarmDeviceId);
        return solarEnergyEntity;
    }

    public String getSolarEnergyADeviceId() {
        return solarEnergyADeviceId;
    }

    public void setSolarEnergyADeviceId(String solarEnergyADeviceId) {
        this.solarEnergyADeviceId = solarEnergyADeviceId;
    }

    public Integer getAlarmCount() {
        return alarmCount;
    }

    public void setAlarmCount(Integer alarmCount) {
        this.alarmCount = alarmCount;
    }

    public String getAlarmDeviceId() {
        return alarmDeviceId;
    }

    public void setAlarmDeviceId(String alarmDeviceId) {
        this.alarmDeviceId = alarmDeviceId;
    }

    @Override
    public String toString() {
        return "SolarEnergyDto{" +
                "solarEnergyId=" + solarEnergyId +
                ", projectNumber='" + projectNumber + '\'' +
                ", solarEnergyRegionId=" + solarEnergyRegionId +
                ", solarEnergyLongitude='" + solarEnergyLongitude + '\'' +
                ", solarEnergyLatitude='" + solarEnergyLatitude + '\'' +
                ", solarEnergyProvince='" + solarEnergyProvince + '\'' +
                ", solarEnergyCity='" + solarEnergyCity + '\'' +
                ", solarEnergyArea='" + solarEnergyArea + '\'' +
                ", solarEnergyRoadName='" + solarEnergyRoadName + '\'' +
                ", solarEnergyStartRoad='" + solarEnergyStartRoad + '\'' +
                ", solarEnergyEndRoad='" + solarEnergyEndRoad + '\'' +
                ", solarEnergyType=" + solarEnergyType +
                ", solarEnergyStyle=" + solarEnergyStyle +
                ", solarEnergyMaterial=" + solarEnergyMaterial +
                ", solarEnergyBrand='" + solarEnergyBrand + '\'' +
                ", solarEnergyPhoto='" + solarEnergyPhoto + '\'' +
                ", solarEnergyInstallTime='" + solarEnergyInstallTime + '\'' +
                ", solarEnergyInstallOrg='" + solarEnergyInstallOrg + '\'' +
                ", solarEnergyPeriod=" + solarEnergyPeriod +
                ", solarEnergyServiceLife=" + solarEnergyServiceLife +
                ", solarEnergyRemark='" + solarEnergyRemark + '\'' +
                ", solarEnergyCreatorId=" + solarEnergyCreatorId +
                ", solarEnergyModifierId=" + solarEnergyModifierId +
                ", solarEnergyOrgId=" + solarEnergyOrgId +
                ", solarEnergyMainOrgId=" + solarEnergyMainOrgId +
                ", solarEnergyIsComplete=" + solarEnergyIsComplete +
                ", solarEnergyCreatorName='" + solarEnergyCreatorName + '\'' +
                ", solarEnergyOrgName='" + solarEnergyOrgName + '\'' +
                ", solarEnergyMainOrgName='" + solarEnergyMainOrgName + '\'' +
                ", alarmCount=" + alarmCount + '\'' +
                ", alarmDeviceId" + alarmDeviceId + '\'' +
                '}';
    }
}
